using Compass.Maui.ViewModels.Cargoes;

namespace Compass.Maui.Pages.Cargoes;

public partial class CargoesInquiryPage : ContentPage
{
	public CargoesInquiryPage(CargoesInquiryPageViewModel viewModel)
	{
		InitializeComponent();
		BindingContext=viewModel;
        WarehousePicker.ItemDisplayBinding = new Binding("Name");
        AreaPicker.ItemDisplayBinding = new Binding("Name");
        ColumnPicker.ItemDisplayBinding = new Binding("Name");
        RowPicker.ItemDisplayBinding = new Binding("Name");
    }
}